package com.study.langchain4j.service;

import dev.langchain4j.data.message.AiMessage;
import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;

/**
 * @author xl-9527
 * @since 2025/10/31
 */
@AiService(chatMemoryProvider = "messageWindowMemoryProvider", chatModel = "chatModelDS", wiringMode = AiServiceWiringMode.EXPLICIT)
public interface MemoryChatService {

    AiMessage hello(@MemoryId Object memoryId, @UserMessage String userMessage);
}
